package com.ruoyi.petrol.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 加油站图片管理对象 che_petrol_image
 * 
 * @author ruoyi
 * @date 2024-06-12
 */
public class ChePetrolImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 加油站id */
    @Excel(name = "加油站id")
    private Long petrolId;
    /** 加油站名称 */
    private String petrolName;

    /** 照片 */
    @Excel(name = "照片")
    private String photo;

    public String getPetrolName() {
        return petrolName;
    }

    public void setPetrolName(String petrolName) {
        this.petrolName = petrolName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPetrolId(Long petrolId) 
    {
        this.petrolId = petrolId;
    }

    public Long getPetrolId() 
    {
        return petrolId;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("petrolId", getPetrolId())
            .append("photo", getPhoto())
            .toString();
    }
}
